package day21;

/**
 * Created with IntelliJ IEDA.
 * Description:
 * User:86186
 * Date:2022-11-10
 * Time:17:42
 */
public class Choose {
    public static void main(String[] args) {
        System.out.println(foo(20, 13));
    }

    private static int foo(int x, int y) {
        if (x <= 0 || y <= 0){
            return 1;
        }
        return 3*foo(x - 6,y / 2);
    }

}
